package com.chy.sprbootmanual.service.imp;

import com.chy.sprbootmanual.bean.User;
import com.chy.sprbootmanual.dao.UserLoginMapper;
import com.chy.sprbootmanual.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private UserLoginMapper userLoginMapper;

    @Override
    public Boolean login(User user) {
        return userLoginMapper.login(user);
    }
}
